Release 10.1A: OpenEdge Reporting:
Report Builder Deployment


PRNTRB2 interface example

To use this interface, you must specify all the parameter values for the report. To show you how to do this, Progress Software provides the rbstart3.p procedure that runs the aderb/_printrb.p procedure file and specifies all the parameter values.

To run the PRNTRB2 quick start example:

  1. Access the Progress Procedure Editor.
  2. Run the rbstart3.p procedure.

Here is the code for the rbstart3.p procedure:

rbstart3.p
RUN aderb\_prntrb2(
  "c:\dlc\src\aderb\rbsample.prl",  /* RB-REPORT-LIBRARY */
  "Customer List",                  /* RB-REPORT-NAME */
  "",                               /* RB-DB-CONNECTION */
  "",                               /* RB-INCLUDE-RECORDS */
  "",                               /* RB-FILTER */
  "",                               /* RB-MEMO-FILE */
  "D",                              /* RB-PRINT-DESTINATION */
  "",                               /* RB-PRINTER-NAME */
  "",                               /* RB-PRINTER-PORT */
  "",                               /* RB-OUTPUT-FILE */
  0,                                /* RB-NUMBER-COPIES  - zero */
  0,                                /* RB-BEGIN-PAGE - zero */
  0,                                /* RB-END-PAGE - zero */
  no,                               /* RB-TEST-PATTERN */
  "",                               /* RB-WINDOW-TITLE */
  yes,                              /* RB-DISPLAY-ERRORS */
  yes,                              /* RB-DISPLAY-STATUS */
  no,                               /* RB-NO-WAIT */
  "",                               /* RB-OTHER-PARAMETERS */
  "status.out").                    /* RB-STATUS-FILE */ 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095